Base model and controller expansion to allow easy creation of RESTful services/controllers