add global refresh template
add makefile-style require
inline templates
copy from mimosa-live-reload
try relative path
add get_out_file
still have a lot to cover