Managed to get tile loading working

Finally loads the tiles correctly! Now Tiled graphics are shown inside
the game.
The loader still requires some tweaking and there is no collision shape
detection (the ground is not automatically recognized). However, things
are going smoothly forwards.