organized gitignore & removed ignored files

some of the files which should be ignored are actually checked in. they
have been removed.

after adding tracked files to gitignore run the following:
git rm -r --cached .
git add .
this will remove all files from (only) the index and readd those which
are not ignored