added git and hg ignore and config files. Also updated the readme.