Copied all database and editdatabase class from old one