Trying to figure out how to do rendering.... also added a Time class.