Some reorganization

I feel pretty strongly that the only thing in main.py should be the main
loop itself. I've moved all the class definitions from main.py into
gameelements.py. All the class definitions that previously lived in
gameelements.py have been moved to the new gameboard.py, and all the
event handling code went into eventhandling.py. Tested and works as
before.