Added Database Class to Repository