Renames Command.hs to Core.hs

Additionally, changes function return order in prepration for the
transition to the state monad.
Add GHC options to cabal file.
Move performance test to new test directory.
Split modules into core, server, client and repl.