Test program implementation.

Series clean up, minor improvements. Basic implementation of paintData method