added gitignore and fixed minor issues