Major refactoring but no code changes otherwise.

Restructured bw-util as a multi-module project with nearly one jar per class. Most other changes areto poms and imports