moved WOM server parts to server class