Revert "update  more akka-style, added comments."

This reverts commit ec520a43488efb515dee2db849114d6e3b03b611.
more functional way