added classes and methods to support internal and external story path dependencies, references and filtering