Putting a duplex development onto a site that was previously a main residence can throw a lot of tax issues at you.