factory pattern finished. added car functionality