small changes to main.php
moving files around
changed header for moved files