Added .gitignore
Fixed typo
Moved arch-specific code to arch-specific config