added Control class and Attack class