Added a database interaction class
Intergrated the new Database handeling class with the guestbook controller.