new UnitAgent to replaced previous Agent class
fixed Clock to use the latest UnitAgent class (from latest refactoring)