refactoring code, add SedMessage & StateFeed methods