added defines

also extended .gitignore