Used some variables instead of hardcoded values for directory names (the config directory folder, to avoid clashing with previous installations).
Static members are properly initialized now.
Method invocation via reflection now works.
My Java skills are way way rusty.