Quantization of Gauge Systems