First draft of un tested server done