Database structuring

Added new files and updated existing ones to prepare database
management.