CDAP-538: Ported procedures of WordCount app to services.

@ParthGandhi The WordCount app has been updated with services instead of procedures, please take a look.
It came from previous implementation, think we can just replace it by the HashMap without any lossless - will do it.