Refactored selection and object spawning into Tools.