renamed portal.class.php to lowercase and moved into portal/ folder
added psm/index.php loader file
added new direct access protection to tops of classes
portal.class.php, ClassLoader.php and inc.php use INDEX_DEFINE rather than PORTAL_LOADED
removed line-ending from ends of files
added d() and dd() functions to inc.php
writing new portal class
moving some content from portal class to other files