Revert "move autoloader below class to prevent problems with php 5.4"

This reverts commit 752413ce7d0390486b5172fd945c1bcaf2fdde91.