Quark core stars, quark stars and strange stars