attempt for a single class implementation

untested

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>