Added the rest handler, and added a new constructor to the movie class