Code refactoring and tests for calculating the backlog of issues 

Code refactoring and tests for calculating the backlog of issues.
- Code refactored to get the weeks and months
- Code refactored to calculate the backlog
- Unit tests created

These changes fix #26