Add net types modules.
Add unit test files for net types module.