Add .gitignore and remove files that should have been ignored
fix up configurations and use common build output directory
got running in visual studio