Created hs file and added ghc flags