Database setup

Complete database structure created with all relationships.