Use Request in controllers
Modify Request class to abstract global variables