The Theory of Functional Forms of the Consumer Demand System and its Application