add contextManager, singleton
add session manager, tweak other templates
add kiwi spec