Added shell for discover-r function
implemented multithreaded lisp server for 0AD