Adds a MessageBodyService and improves samples program