Basing API of mock API.
Change null to exception
Fix routes
Merge pull request #18 from calblueprint/howard/api

Basing API of mock API.