Compilation fix. Rs compiles now, group and message creation work ok, more testing to do still