Update classes and add generic functions and skeleton methods to keys.lisp