added test-module.d.ts
first setup for incremental testing

combines reference parser and git changes

still very dev mode