Fixes: initializes data as array
Adds some comments
Avoids setting obj as modified from initial data
Adds json error management
Adds helper to save obj
Adds helper to delete obj
Implements client request methods, refactors code
Fixes: exception class inheritance