Determining when to develop a system in-house or to purchase