Added basic map support.

General code tidying. Added water dummy image. Fixed newFilledArray.
Added start of json game loader. Added base of event handling.