Subsystem Refactor for ASTools

Primary logic for astools converted to a subsystem implementation.