added ability to use schema inheritence. created parent model