Adding check for installed modules.
Merge pull request #11 from sudomesh/maxb/module-check

Adding check for installed modules.