Added type definitions as properties of the Content class. Also, added a few little fixes to the demo, and a new environment for content editing.