Improve Asteroid with object-oriented code style