Add listapp, improve ajax helper
Add unit tests for ajax helper