Merge pull request #1 from TomiCode/master

Adding client functionality.
Move the server function to server.c and the client function to client.c