Setup basic stuffs for the page generation