added helper method
made images clickable
added ajaxs and test funcionality