diff --git a/olwrapper.cabal b/olwrapper.cabal
--- a/olwrapper.cabal
+++ b/olwrapper.cabal
@@ -1,5 +1,5 @@
 Name:           olwrapper
-Version:        0.3.7.3
+Version:        0.3.7.4
 Synopsis:       An OpenLayers JavaScript Wrapper and Webframework with snaplet-fay
 Description:    test
 Author:         Thomas Edelmann
@@ -28,6 +28,8 @@
   other-modules:
     Tutorial.OlApp
     Tutorial.Traffic
+    Application
+    Main
     Site
   other-extensions:    
   build-depends:       
diff --git a/src/Application.hs b/src/Application.hs
new file mode 100644
--- /dev/null
+++ b/src/Application.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# LANGUAGE TemplateHaskell   #-}
+
+module Application where
+
+import Control.Lens
+import Snap.Snaplet
+import Snap.Snaplet.Heist
+import Snap.Snaplet.Fay
+
+data App = App { 
+       _heist :: Snaplet (Heist App)
+     , _fay   :: Snaplet Fay
+        }
+
+makeLenses ''App
+
+instance HasHeist App where heistLens = subSnaplet heist
+
+type AppHandler = Handler App App
