switch to using a functor to build the handler class components