Changed complete implementation, now based on Spring YARN examples
(custom-amservice), because of supported communication between Work
Containers and ApplicationMaster