Refactor project to be a library

Prior to this commit, the clojure project operated more as an
application since it had a main method. This commit changes that by
making it more of a library instead.