Filled out most of the TODO methods.

- Added an inner class in order to connect to the server concurrently