Modifying Program Controller to get data from repository