PPM 1st upload.

Finished core. Ready for more test and bouns requirements.