refactored example and added informations in the README