persistance, config and entity