Add docblocks, restructure actions into a construct.
Merge branch 'master' of github.com:DrewAPicture/wp-downloadcounter