Updated code to support custom data attributes.
Also when any of the sub-apps is active drag & drop is disabled.
Removed init function and added many more optimizations.