Refactoring + Web SQL stuff

Renaming controllers to app.js
Updated angular to a later version
Now, reading and updating web sql db