Use the ORM in network start instead of raw sqlite

This ensures the values are accessible if within a transaction.