preparing for db access

got everything ready to connect to a database