Added SessionPool and prepared for creating and joining sessions.