Changed event model to standard Java listeners
General rearrange of code
Put in the structure needed for delta time, although not finished.