move everything into base.moon, expose insert_loader
add remove_loader function
only have loader active when running chunk