added ability to be installable via composer. fixes #1