Theoretical aspects of aging