finished fooling around with requirejs
refactored groupings, documented settings.