Added parameter to construct which requires database name to be given when creating an object instance of the class to allow more flexibility with the class usage