Added caching
Added some basic api endpoints
Finished adding support for multiple api accounts