Introduce Server class
fix win