Starting building the page class and relative functions to handle displaying pages and rendering the correct template blocks
Added page blocks into the paging class, so it joins the query to select them too
Blocks are now being displayed in correct order after being pulled from the database.
When a template is rendered it now automatically has access to all the page data in variables.
Refactored the index.php file and page.php file to cut down the amount of code displayed in index.php
Refactoring
Added comments
Changed comments :p for the crack