The classification of close binary systems