added main method in Imdbpy