Wrote server

includes settings