fix bug: summary.new_spend not new_spend
Complete all docstrings
Add documentations