Code clean up

No realy changes in logic. Only reform for style
Add link to vecnet overview pdf file