Added network framework and listeners class