Start nREPL for server 

- Fix handling of command line arguments
Minor fixes