Added new database structure.