working database connection, first migration draft