Merge pull request #7 from zelgerj/master

splitoff server component
Update composer.json
added prepare method to module