Move req and res classes from application code