refactored Burndown class