Implement settings

We must fix the deprecation because it makes trouble on windows with
JRE 8