db changed to pg (faster), fixed cache and localization cloning