Add gitignore
Seperate code into files