Created DB class, Config class and Login class.