working on authorization and capture.  Seems to work.
Try to reduce code duplication in the adapters. Centralized pathForType to applicationAdapter