Split out import() from load(). Added index-compiled.html. Added flag to compile() to make returning function optional