Nice! Redis really does have a great code base to work with. I previously wrote on article on adding a custom datatype, essentially walking step by step through each necessary modification.
If interested, this article can be found here: http://www.starkiller.net/2013/05/03/hacking-redis-adding-in....