refactored server install