Why are we including db.h in net.cpp? Sure this is needed at all?