cleaning and modified .gitignore file

Deleted a lot of build files and modified the .gitignore.