Refactor plugin

I have been doing a __ton__ of work on this plugin (mainly due to client reqs). I'm not yet finished, but thought I'd give you a heads up and see if you like what I have done so far. I'm not entirely married to any idea in particular, but most of this stems from having to process larges amount of data.