Media playing an important role in national development: PM