Added some models and worked on the API.