refactoring deploy server new mean stack