creating server in minimal lines of code