delete Monitor class, should be a method in Server