i’m not sure i understand how the loan works. why a loan? who manages it? whats the flow of funds over time? could use a state diagram of that part