remove Globals in Controller class
fix bug in pudding.php
rename Globals to Container