split off emacs launching code into its own class. Used an s-exp library to generate the lisp code. Wrote more tests