put all database setup in own module