Backend for asteroids-scala