Split lib into layer.rs, tileset.rs and add tile.rs