Implementation of all gates in data flow model.
	Better soruce management