DBServer: Move storage specific code to Database obj, generated by DBFactory.