Adding the NetworkModifer class and activity