Public interfaces of chain.py module is now fully documented
Removed old code