added git ignore
fix header duplication bug