got some more working in command line app. set is currently broken. working on it