Molecular understanding and controlled functionalization of surfaces towards single-site catalysts and beyond