Refactor Exec to be instance rather than singleton