A formal theoretical framework for a flexible classification process. (22nd January 2021)