refactoring to employ better namespacing

rewriting plugin to follow namespacing pattern detailed here:

http://coding.smashingmagazine.com/2011/10/11/essential-jquery-plugin-patterns/