A Theoretical framework for the measurement of well-being