Made progress on api.
Created stable api framework. Ready to implement request.