Some minor refactors in models link and subnet
and domain views
Merge pull request #61 from towanda/master

Some minor refactors