Some minor refactors

In models link and subnet and domain views