cleaned up mainLoop, removed unused server classes, removed tests from
mainLoop not applicable to server