Phases and classification of matter