fixed including of js-files. Changed the frontend mgm-core.js to a more generic interface for registering gizmos bagan with backend classes for gizmos and interfaces