generated Links model and controller