Added Apache license to the MessageListener.java file and documented the handle method.