Can calculate some basic stats.
Refactor into separate files and add email functionality.
Should be ready for a first release.