server now responds to different commands. using tokenize