Autoconfigure path, and allow to pass uri when starting a server