implement wolfram alpha querying, more cleaning up