Modify the example to use the ConnectToDatabase object
Add new object that allow the connection with databases