Did some refactoring. Added toolbelt.js for utility functions.
Merge branch 'master' of github.com:petertflem/patchwork