move page spec loading from frame to page
added module events