To save you a little time and money, here are some things you will need to establish to accomplish what you are trying to do.
A TRUST is a legal entity created when a person (grantor) TRANSFERS OWNERSHIP of property to a trustee to be held for the benefit of another person or entity. After 1986, no more than 5% of the trusts assets may revert to the grantor or spouse upon termination of the trust. If it fails this test then the trust income is taxed to the grantor.
A CORPORATION is an artificial entity created under state law. Meaning it can enter into contracts. It must have free transferability of ownership, continuity of life, and centralized management. It provides limited liability as long as you don't "Pierce the Corporate Veil".
More tax mumbo jumbo:
BUSINESS PURPOSE CONCEPT
First of all, to set up a "Legal" trust or corporation and deduct expenses you have to have a PURPOSE. And that purpose can not be to avoid paying taxes. Soros runs a hedge fund that takes in money and invests in markets all over the world. Soros and his employees travel the world for business.
SUBSTANCE OVER FORM DOCTRINE
This states that the taxability of of a transaction is determined by the REALITY of the transaction rather than APPEARANCE. This means that to be accepted it has to have a business purpose other than tax avoidance. (You can't have your brokerage statements mailed to a PO Box in Liberia while trading from Anytown USA) If you live in Liberia for 330 days a year you are good as gold.
ARMS LENGTH transaction
Think Enron. To be considered Arms length and receive the intended tax benefits all parties must bargain for their individual benefit. You can't sell your wife/brother/corporation stock at a loss and take a write off. It has to be sold to an unrelated party.
ASSIGNMENT OF INCOME
This simply put meas that if an entity earns the income, it pays the tax on the income. You can't transfer the income to another trust or entity to avoid the tax.
Meet these things and you are good as gold. It also helps if you can find CASE LAW to support your position. CCH which may be at your library allows you to search for cases similar to yours. You want to see a case with similar facts that received a favorable ruling. The higher the court wins (you can often search by case to see if your "case" has been cited in another court).
Here is the IRS link if you want to see some cases that didn't meet the test.
http://www.treas.gov/irs/ci/tax_fraud/docabusivetrustschemes.htm