added validator class and initial version of remove button