Update config.h, add network class