Split out helper methods to Tools class
Refactor and pull out timing routines into own class
Add cube pulsing animation. Fix animation timing and code.