Initial implementation of Model and Restful storage