Revert "'Forked' from paulmonigatti's RexSimulator"

This reverts commit 473194a68c4f8e3d4cc1fdf20b66322a7fc630f3.