finished server classes (not tested yet)