fixed bug in FreqDist.max() (erroneously returned (maxkey, maxval) instead of maxkey)
added subpackaging structure (empty; demo still runs)
major refactoring without change in functionality
major refactoring without change in functionality (11 files, 4 subpackages)
removed cruft from IDE