Implemented Model and user-mod

* Implemented Model class
* Implemented user-mod
* Fixed bugs in ajax-mock