Refactored movie.py and separated its constituent components.