Fixed several warnings (from IntelliJ).
Removed unnecessary generics type information.
Replaced class names by interface names.
Replaced Hashtable by HashMap.
Small textual changes.
Relative directory for RootFolder property.