Setup database config class