Flexible Global Circulation Model to Explore Planetary Atmospheres