Database is now a class.