convert from Moose to Class::Tiny