added database files and basic relationships set up