add 'tim forge' command. Tweak test suite, add tests.