implement schemas
Merge pull request #2 from abukurov/features/entity-schemas

implement schemas