adding documentation
re-organizing and cleaning up
properly using the return value of process.waitfor
fixing intelliJ code inspection problems
adding documentation
more documentation and minor fixes