implement studio local server mode