Creatring a constant for the preferences file default name.
Improving javadoc
Fixing formatting issues