Move output from classes.php to index.php

The output should be in the visible index, not the classes file.
classes.php should not echo.