refactored index page #19

reworked index page to check for related components to a module