enabled usage as package
fixed path when ran from vendor
Merge pull request #1 from hboomsma/master

Enabled usage as composer library