Added decorator pattern to factorial loading and the timer