movie_catalog assignment(postgresql,sinatra)