Added nrepl listener and renamed core to main.