restructured YarnApplicationBuilder, fixed typos