YARN-913 interfaces marked public/private as appropriate; all as evolving. code reformatted