Books controller and model working
Changed default response type to JSON