Organize the code to follow the Revealing Module Pattern