f/#61 Added BaseModel, BaseResource and inherited from them in models.py...

... and resources.py

@aismail , @bogdans83 , @bgdnc , @bogdanbresug , review, please :)