Update to match coding conventions

Update closing brackets according to clojure coding conventions.
Refactor main to use  'thread last'