Generator based API framework with REST and data store abstractions