Made a few changes while still being true to the original author

* fixed use Strict;
* lifted bot functions to subs
* added Storable for persistence
* made karma function stub
* changes from tabs => spaces