New approach for weighted pseudo-almost periodic functions under the light of measure theory, basic results and applications