Fixed broken urls

There was a problem where $_GET['url'] would always be equal to
'Index.php' , That is fixed now, also started work on default views for
errors and the header/footer of the site.