*generated output now has better structure and loading procedure, follows the same steps as in grunt smg definition