Refactoring to Module & Revealing Module Pattern