Refactor config file loading

    Replaces various dependencies on user.home with a Configs class to
    act as an intermediary.
Factor out provenance config