Better server (with Haskell functionality!)