Added Database connector class