bmp classes