Moving switch code to functions. addQuest still doesn't work.  Handle errors instead of panicking.  Server crashes on empty request with a valid command name.