Developing a Model of Community Wellbeing and Resilience in Response to Change