fixes to poms, formatting and refinements