moving lein ring out to plugins