Started creating outline for a song unit generator, and refactored some code.