Updated composer.json

Fixed #1. Added autoload functionality to the composer.json.