add url to project.clj
reformat code and use `doto` to cleanup