added another state
extracted the creation state as a function
extracted the TimeState-class
fixed the problem with the TimeState-class
fixed problem with reset function of method
removed side effect of the TimeState in functions