General Supervised Learning Framework For Open World Classification