moved request parsers to top of file