added prepare method to module
Merge pull request #8 from zelgerj/master

added prepare method to module