attempt at creating classes that behave as "class member traits"