created link model and links controller with index, new, and create actions