Getting everything organized for connection