Fixed errors for Windows. Added gitignore