Added Module pattern example with require