Moved class files for switch to PSR-4.

I used the core/scripts/switch-psr4.sh script to do it.