Start to work on complete hrm module

Help is welcome !

Warning, many bugs !