added a mechanism that creates tables in DBClient.