Changed TeilerState to TeilerConfig.  More changes to session.