Use helpers for paths
Default palettes children_count to 0
Make queries on the controller