Introduce shared absract gateway for Direct and Hosted Page.
Dev snapshot