schema and connecting to the db