Fixed comments
Saved one call to system and added gitignore