Usage API

Adding stacky api for usage.

Starting work on a db api to allow for read access of the database through a rest client.