Cleaned up duplicated code.  Pushed most of the local methods into the
utility packages and "Common" classes. Created several classes in
utility package for use by all interfaces.