Update core.clj

added :main true to :gen-class
moved (native!) and the listener to the main so the only top-level functions are defs