Basic session support

Mainly want Issac opinion to make sure I'm not totally screwing this up...