Layout data model

Going to tryout code first.