update: cleaned up code for style consistency, encapsulation, easier
usage, and readability. Set up TempFigure class source and header.