removed imageutil dependency. added utility classes to support imageutil