built class for server