add comments as per tom's suggestions
add database cleaner gem