rearranged database structre

rearranged and added more structure to the database document aswell as
started to manually create and test database structure in MySQL. Smaller
addons in the DatabaseConnector.