Remove most of injected global variables

Change-Id: Iff41883c4a5a1259fb9ccbfb1e1b670441933c66
Merge "Remove most of injected global variables" into pagePagesRefactoring