Classification of convolutional codes