factor out header and footer output and modify time output to something more formal looking
factor out header and footer output and modify time output to something more formal looking

drmonkeysee/CinyTest,doemput/CinyTest