Move WordCounter to lib/