Move server related methods to new Server Api

I like it better this way, it fixes some of the clutter in the ModPE namespace. What do you think about it?