Re-organize tile generation functions
Fetch layer names from "all" layer config