updating DB class to make schema name configurable