reconfiguring database class