Rename setup.py to dirs.py because of nosetests issue. Fix templates commands. Fix bug in walk_inputs not reaching all files.