Wrote basic server