first Compojure (Clojure) implementation
changed the interface of spray implementation to allow remote access