Removed expec from a test case

Because the object used in the class will be removed
Added static methods of Page class
Removed the constructor of Page class
Improved a performence of the Core