added documentation on variables across root and controllers