The mayor and council shall have power by appropriate action to appropriate money for the relief of the poor and for charitable purposes as they may deem proper.