Add loan state transitions and transactions