Introduce Session-Management

fix #29