remove FrameworkEnum (first pass)
introduce a buildReceiveDataStatement
code cleaning
fix compilation issue
handle service triggered at startup