Fixed namespaces

Changed namespaces to fully-qualified names
Updated basic session manager.