improvements in sia.py.
renamings and improvements in several modules.