added search by module

added ability to search by module, added enum for module types