Removing old C++ code and renaming handlers.

Renamed handle method in the KeyHandler to put, which is what
the method actually does.