Implementing the Module Pattern