Added new Session class to chicoco's core.