changed page.class.php, main.css and added test.page.php

Removed foreach found in page.class.php and allowed access to the
main.css file