Adds exception catching
Adds REPL