Worked on some more refactoring, nodes are now assigned partitions in a deterministic fashion.

Fixed bugs where command line arguments are now required in certain situations.