Added Database working class

what is the point of using these functions here?