LOTS of changes: moved methods to new classes, resolved class.pages.php and moved methods to other classes, ...