Changed the way fetching objects work.

* Create object with specified default key
* Call fetch
* Object will be serialized
Fixed sample to do to work with fetch instead of find
Restful interface WIP
Restfull test WIP