Rename LICENCE and README files
Remove last chdir, add timeout option, cleanup things