Tile formats handling was refactored
Move a tilesource wrapper in a separate class.
Dynamic resource handling was implemented.