Add UT and code cleaning
First step of absence management feature
Add absence management feature