added KFrame class and updateServer method