Add -main function in core.clj

- To fix java.lang.ClassNotFoundException, add -main function to
core.clj