Re-Added and commented the createSession code

(I forgot to add that code last time). Once we get dependencies working,
try uncommenting it and see what happens.