adding generated hs files
bug fixes in thrift autogen
build scripts, typeclasses for exposing API
added hsLocalhost
added c++ implementation