Added start of createSession

I believe there is an error in build path though.