refactoring: renamed lists to trees
corrected typo
added functionality - selection of class

will create line in script for each selected class and it's selector