Created pman main program