Update autoloader

for smarty
Merge pull request #4 from labelcarrote/jon_dev

Update autoloader