inherit entity from model
fix namespace
Merge pull request #10 from mhor/entity_to_model

inherit entity from model