Basic client communications implementation and login module skeleton