store network in sqlite

might use sqlite transactions for thread-safe shared data