Update autoloader.php

fixed up comments, todos and examples