Feature/model options

Options to define model's parent class and model's table.
Depends on pull request #300