fix git ignore and add remaining source files