Allow autoloading of class files when using composer.json

This allows proper autoloading when using Composer.
Merge pull request #2 from geoffreytran/patch-2

Allow autoloading of class files when using composer.json