Design simplification by omission of factory classes