Begin process of refactoring hearts.js out into separate files for each class