remove useless controller and make the configuration object read-only + fix Exception namespace issue