Created DB class