refactored parser and rake task
added index to imdb_id