Add base method for create entity.
Merge pull request #4 from Gizra/create-entity

Add base method for create entity