reverting passing runtime to world
adding registerListener and registerHandler