Adding code for msg recv api, sending receiving structures, info
Temporary commit.