Changed Game class a bit, moved events to separate method, added on load complete method, added method for loading map definition, changed fields.
Added isInFront flag to Platform class.