Rewrite

Added RequestHandler class and made it a complete working example