use #ask from smw api
Merge pull request #29 from kyv/ask

use #ask from smw api
PEP8, code cleanup, add docstring
link to bug