Some building blocks for a Yesod Application