- implementation of how off days will be calculated
- code refactor

Signed-off-by: Anas BIHI <anas@iMac-de-Anas-2.local>