connected to postgers db
created tables