added some related tables to database structure