initialize REST using compojure