api,messaging: 
refactoring - messaging interfaces are moved to api plugin