removed old localserver code