Changing gruntfile - bower components at the root level; appdir is specified to switch between apps; static_components for resources that are not available from bower.
Really simple example of widget - use of requirejs, backbone and template (the easiest one - all)
I suppouse u have node.js on your box