create the database context