switch PlanetView to inner classes