fix: refactoring, tasks abstract classes moved to src/tasks from base. Added module to calculate statistics.