Refactor networking to network

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>