document env and session a bit for Controller
Merge pull request #74 from houqp/controller_update

document env and session a bit for Controller