fix some terrible mistakes
add a .gitignore