Basic Structure of P2 added

Basic class structure of P2 added and small changes made to run basic
methods.