Add networks

Try this branch; if you think it is suitable, then merge in....