Add: adding contents.rst as part of the codechat template.
Fix: Apply changes caused by code reduction to test code.