Update settings and license and readme
Fix analysis first version
Add encoding to repostats.py