added loading of code from files
fixed bug in repl output