reorg of some of Vlad's stuff and skeleton and declarations of mail transport library.