Splitting network code, dbc code, database code, and threading code from shared.