The role and classification of energy storage