Add .gitignore
Move feature vector functions into their own file