Rewrite console wrapper to avoid license issues.
Make iri image data saving correctly.
Fix image date saving.
Tests: Fix some issues.