Add a configuration handler class to handle configuration