fix: don't expose Server as global object + remove trailing whitespace