Global organization of a binding site network gives insight into evolution and structure-function relationships of proteins