added composer.json so it can be installed with composer
autoload lib
Merge pull request #4 from Elexy/master

added composer.json so it can be installed with composer