Working Copy of Integration

Optimized some query codes and it is now working.
Hao: will come up with sketching of visualization
Anthony: try to select countries from Google maps.