Began refactoring of code into separate class files including Card.js, Stack.js, and main.js. Modified function objects to make use of prototypes.