Adding source file and gitignore