Use a key value config file

Also moved appdirs into rosdistro.external