Add autoload capability. Also allow non-source files to be created as
targets. Index source files in hash by truename.