app now self-inits; module loader for dev mode is now generated by a grunt task based on the compile task; other small improvements