split servers into apiServer & staticServer