port and test p2ptrade comm
changed p2ptrade file structure