Improve parsing, interface with db and add a single page webapp with angular.js