revealing module pattern

added rmod, updated module pattern as it was a hybrid of the 2