Refactored PathGenerator to separate out path writing.
Adding PathWriter with path writing/processing functionality previously in generator.
Fixed bug where path processing was hanging.