Add configuration file

Add gitignore file and a manual.tex, also rename THANKS.