moving extended and simple session classes to libraries