moved body parser to module