added scope and method in debt model, to filter unpaid users. refactored the timebuckets to use a switch statement instead of a hash.