created class Database