Added a new structure for libsockets and made a CMakeLists