Added Player class and some more stuff for running an applet.