add rate to view and refactor addMovie method and refactor route injection