Independent media essential for democracy to take roots: PM