cleanup and format
Improved performance

Replaced LinkedList by ArrayList
Set loadDic(String) deprecated
Add loadDic()