update install-client script
extracting middlewares definition from config file
adding missing dependancies and cleaning
update readme