rewrites class factory methods for KBoard and KBoardCell