adds routes for associations, makes associations for documents, etc, better.