Basic layout model

Contributions by Nicolas and Noah