Placeholder for links and fix migrations

Get a basic view going for links and fix the migrations so that associations work
properly.