- added Document to encapsulate business logic
- created basic database schema