Add timer factory
Use local storage