Add Index & Error Controller class and Index & Error template.