Renaming LogicalConnection to Session, adding some testfiles and start doing bookkeeping.