modernize autoloader
cleanup
add test suite
add insertDirectory -- filename helper