Parts are still a WIP, as there are some embedded echo statements that should eventually be run through some sort of output interface.