adapt Message Api to nNewMessage parameter
split thread and message Api in distinct packages
Merge pull request #3 from gdchamal/parameters

Api part for core input parameters