client connection && config WIP