added hasparent boolean
Edited gitignore