Adding model to each new Resource instance
Merge pull request #20 from arax/model_res_fix

Adding model to each new Resource instance