refactorings and move infoscript partials from infoscript module to base module