added movies controller and set up postgresql