rebuild Gaea

reformat Gaea, and add some reset function