Add doctstrings
Create Summary class instead of just printing the result