[work in progress] Debt management

@benlovell 

Could you check out the ruby/routing and comment?
Do as above and drop this line.