couple of simple configs
groupDebt function scaffolding
started refactoring main