update .gitignore
added main.cc
added main.cc stuff to autoconf files