initial file structure

connection with db and prepared data classes

seperate files, database connection hidden