simple server example improved
fixing example and dependencies