refactor addMovie method and refactor route injection