add api controller
Add API controller to handle model CRUD.
Merge pull request #10 from DonaldIsFreak/feature/api

Feature/api