What was the main responsibility of the Ottoman state as it relates to lands?