added skeleton of session.grim; filled out protocol skeleton a bit more