remove path.resolve
instantiate helpers in init_roots obj; compile all dependencies first