Code formatted, encoded text checked and warning added

The old url syntax is announced as deprecated.
UML diagram fixed
IOException temporary fixed