some SessionSchedule refactoring, plus new tests and function stubs (#139/#144/#151)