Fixed .gitignore and added source files.