moved MAIN_SCRIPT constant
refactoring
added ScalaPluginRunner stub; extracted FileUtil