Setting up pathfinder base classes and adapters