Refactor of content's main script to align to a more OOP design pattern.