Added Core class to first calculate the page
Added Core class