added boilerplate code to the plugin template

eventually we need to setup a group of core functions that can be shared
between modules, but for now I just added more to the template :P
initial stat tracker commit

not logging to DB yet, just getting things set up. a few other random
updates here too