Cleanup + orderAllUnitGroupsAtk

Added more comments for methods and added orderAllUnitGroupsAtk for
CoreBaby to easily order all existing unit groups to attack a given
location