First stab at a simple app server