Three ways of classifying sastra (prasthana-traya)