Added a seperate cabal build for the funct server

Now `cabal build funct` and `cabal build functserver`
can be run to create the server and compiler