use a mini server programm

-> do the caching in the haskell server, not in emacs
remove newline at the end of result
use --make for ghc
major upgrade, accept all sorts of functions
pass error through to emacs
clean up imports
rename files