added option to change sender class via config