set up basic CRUD framework for rest api. Implemented example get method on user model.