Added AngularJS bindings for GUI, refined framework