Update to a module

Updated to a module, imposed some style guides.
Merge pull request #1 from Neener54/patch-1

Update to a module