Moved old code to legacy directory in preparation of merging doremi-script clojure