Test Configurations, Stabilities and Canonical Kahler Metrics : Complex Geometry by the Energy Method