Added a Time class that will be helpful later