implements model methods save,get,delete,sync. skeleton for view and collection.