Initial version for java word count spark app