Add generic controller for all entities and modify html files.