Cleaner API.config setter/getter
move tool functions to tools.py

bump version
remove last vestige of since-id nonsense
add test cases