Moved path stuff to top of parser script; also broke WordCloudMain.main() into methods so it's easier to understand.