WIP on implementing ghc-mod low level API