Refactored some methods in LootInterface and StatsInterface.

Added more Stats tests, fixes #1.
DocBlock and code cleanup.