Changed timer stuff

Created a time struct to help prevent overflow. Not at all finished.