plugin structure

the basic plugin architecture with a global function and a jQuery object
method