Remove duplicate function in Read.php and added helper class.
Create imageData for index page.