Added basic database structure and models.