Move WordPacker to common

Signed-off-by: Michael Buesch <m@bues.ch>