Refactoring Snake.view singleton in to Snake.View class.
Refactoring Snake.animate singleton in to Snake.Animate class.