[hexadaemon] replace some hardcoded values by global macros
[hexadaemon] added program_options and some options