Creating Functions with our Database Class