add project.clj to allow clojars upload

I've replaced the compile script by a project.clj to enable easy compiling and upload to clojars.

I also removed the `^export` and removed some (now) superfluous functions.