cleanup; add gitignore;added comments