Added defaults for server and database configuration.
Added callback for server initialization, this was need for async testing.