Database project - create tables

database refactoring, 1st table definitions implementation, database
docu update, test improvements