Added the pass management, integrated with application and option processor.