pkg: added ``composer.json`` to be available on packagist.
new: added autoloading facility (fixes #1)