Added JUnit test, Interprets cli arg, RMI added,