Code cleanup - Module Pattern for 3dewii instead of ugly singleton