Added Object Factory example