Module pattern update

- Applied module pattern to all
- Added “use strict”