Replace handler with context and move other features
to plugin "parser", "cookie" and "file"