almost done

main bulk of the application is done and functional.
Need to build the test and help functions, as well as trapping for some
template naming issues. Then comes final cleanup and tweaking.