Chancellor has said she would be modernising the tax system to ensure it is fit for the 21st century.