Command refactor

Refactored the project so that commands.go is in its own sub-package, and there's also a db sub-package which keeps the redis pool as well as some other helper functions.
I think we need to do this stuff even if 0 were removed. Also, I'm not sure 100% sure whether we should be ignoring unclaimedKey (the conn is just saying "unconditionally remove this").