Fixed compile errors, added .gitignore
Fixed compile errors, added .gitignore