Working on DatabaseRecord class