setup a global env
added basic repl usage