Insight and SelfService are relatively easy to remove - you loose the functionality associated with them, but it's possible to run without those.
xFiles, as I recall, is used to manage the settings - so you would need to re-code the way the settings are loaded and saved.
cheers
Bruce