Move ctrl map and page driver to content script. Lower the scope of the constants where it's needed