Basic ability for schema definition

- [x] Add ability to define schema
- [x] Add ability to define document