Changes to nco.py and unit tests

renamed directory structure
added unit tests