starting to get db connection etc set up