Understanding Electrochemical Interface Properties By Comprehensive Self-Consistent Density Functional Theory