Compressed server commands

Significant bulk of data minimized, plus an index of all the commands and added compiler safety.