modified the fragment to activity communication and modified page object for supporting clients.