Class coding 4/28

Coding to complete the NPK function registering; done with the aid of
Dr. Blumer.