A new class of relativistic model of compact stars of embedding class I