cleaned up the API explorer initialization