Added controller and new index with marks code.