Move classes into their own files.

Hi there, nice game!

This is a small change to move things from classes.js into their own files. I think this will help to debug code, keep things maintainable, and allow contributors to easily digest what's going on. I didn't change anything besides moving code into different files.