Extended the API layer so that it is now possible to use a different API model different to DB model

New class SimpleCrudController added to support the earlier model of having a single model class for both DB and API