Update app.js

add routing; controllers for form and results page