Initial separation and creation of contents.py