support creating custom chains, rename provider

policy provider was renamed to chain