Adding initial structure.

- Repository and database implementation.
- Some tests and basic functionality.