Add config_lib.F90.erb and its test