Add front-end class for the application engine
Add wrapper for the engine. Test calperday rules.
Change to use stateful session