added and tested LocalModList class, corrected some bugs