Addressed PR comments
Deleted unused REPL code