A model for a two component galaxy