cleaned up server start-up process