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.