Working on the generalized kitty_server