Insert DataUiHandler and error message

Also change the behaviour of some conf file, now all library are
installed in the application (base on macos)