Moved resource iterator into io package and dropped dependency on common
project.