removed singleton from SexpFactory and changed references to use new