implemented composer feature
moved class to src folder
Merge pull request #40 from Rvanlaak/master

Implemented composer.json