new functions for reading classification data from URL instead of session array