adding config to the registry
add register method
add the handler
add the handler
change the app class