Abstracted the tool system and have implemented the unit selection and command tool.