COMPACT STARS: A CORE-ENVELOPE MODEL