implementation of data resources

tested out type RESTful resource, initial simple
implementation working OK, storing and getting fine