fixed export (groovy.lang was missing)
Refactoring of init script loading mechanism. Preparation for PROBCORE-287