Import source code, test infiles and docs

- ignore C object files and LaTeX auxiliary files