Scripting an application in haskell: howto expose application api ?