Everything you need to think about when making the decision to purchase a primary residence.