db connection, first draft of db schemas, organisation