Added Pcp module for implementation. Some minor changes in other files