Initial PMS code
Revert "Initial PMS code"

This reverts commit ea7d0f4771d8fbb7f9e31d8fad7b5e28139cebea.