Model, controller & restful services

generated these files from the database.