Integrated parser and validator to app.js