First of all have you got a corporation set up? That will let you write off all sorts of business expenses. (You can do it as in individual, but it's easier and less likely to get audited if you have a corporation.) You can write off all your computer purchases, ISP fees, software, office supplies, and possibly the use of a room in your apartment as a home office, with a portion of the utility bills. If you only use your cell phone for business you can write that off. And so on. Don't get too outrageous in your write offs, though. Pigs get fat, but hogs get slaughtered.
You might also want to consider living in another country for a while. There are big tax advantages from that.