Fixing API controller for new schema.
Updated tiler script.