stash
cleanup HandlerFactory
register HandlerFactory in order to custom constructor of the handlers