Added Tiled support, Logging, ResourceLoader, Exceptions and a lot of small changes.