[Haskell-beginners] How to structure an application?