Implemented 'Action' class roughly.