Refactoring Asteroids