Started on C++ network layer

Started moving network stuff from QML to C++