main_loop inprogress. server.h now call server_types