Slightly improve the documentation of source code. Add a bash script that can be used to launch the client. Perform minor refactoring.