Updated TileLayer

Added comments + tests