Set up general setting to work with the database