code optimizations and improvements

- refined "smm.py info" output
- added get_mod() member function
- general improvements