Made server main a static class