Building a managed account infrastructure