added a tile model and basic tiles JSON endpoint