Had to rename CurlMessage to Main since ghc was complaining