add full source code from README.md in individual files