added linux main and fixed gitignore