Add Mocha test page, separate controllers into files