An implementation of the Control Basis Framework (CBF) idea