add controller
rename app.js to device.js
update README