Initial commit

Basics are in place up to three nested levels