Added necessary database table structures