Ecological design and vernacular architecture