Added database configuration.
Some general updates.