Created Looper - encapsulation of loop that uses requestAnimationFrame