updated app to app2

improved ajax format (consolidated requests). many -> one.