added ServerRelay and some static bits