Changed namespace to module and followed standard pattern
Renamed index to layout to better represent purpose
Reworked module pattern
Modified to fit module