Moved messages adn xdr into own message/ path so can be used elsewhere
add docs