Add Timer Class to main files

Add timer class, same functions and uses as previous commit