configure app, parse body