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

added prepare method to module