Reorganizing project and fixing behavior on already connected accounts.

In this change, the project has been updated to have a better organization which will be helpful later when moving to the 1.4 client library. Also, the behavior when connecting the client to the server has changed to return success when the user has already connected.