add collection+json
refactor link ns
refactor link creation