modulized all server initializations