Time manager and clean up