core improves

Adding arguments in routes, and auto output buffering.