Created a ConnectToDB class