added class Database