Restful Model implementation