Recognizing Human Actions by using Effective Codebooks and Tracking