added prepare method to modules
Merge pull request #101 from zelgerj/master

added prepare method to modules