Added spend_db tool.