mm-spaces; general theory and classification