moving lots of server api send stuff to a ServerApi-extending class

lots o' modularizing