added todo gateway and started using it