Organized persistence code around technology specific packages