This should've been done long time ago, if  you buy and sell your primary residence withing let's say a year or two you should pay tax because you're a flipper. I know few people who made close to a million by flipping couple of their primary houses in the past 3-4 years.