Re-organizing the folder structure of the gaia module.