got basic server stuff working