updated ed::load function to accept a file path as well as a module definition