Restructures arguments for server constructor and run methods