Added automaitc code generation for message handlers and a few more session types, however there's a bug in the session lifetimes and ownerships.