changed to use freebase api key. allows two tries to connect for each request also
few edits and cleanup