build a small server app